package cn.ac.jaas.isc.vegetable.common.core.constant.enums;

/**
 * @author 张高昌
 * @date 2022/3/31 16:54
 * @description: 功能描述
 */
public enum ErrorCodeEnum {

    SUCCESS("成功", "00000"),
    ERROR("失败", "99999");

    private final String code;
    private final String description;

    ErrorCodeEnum(String description, String code) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}
